/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.guest.entity;

import java.util.Date;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;

/**
 * 美国外包Entity
 * 
 * @author hui.li
 * @version 2016-09-24
 */
public class UsAttendanceGuest extends DataEntity<UsAttendanceGuest> {

	private static final long serialVersionUID = 1L;
	private String employeeId; // employee_id
	private String lastName; // last_name
	private String firstName; // first_name
	private String datevalue = "0"; // datevalue
	private String flag; // flag
	private Date date; // date

	private Date beginDate;// 开始时间
	private Date endDate;// 结束时间

	public UsAttendanceGuest() {
		super();
	}

	public UsAttendanceGuest(String id) {
		super(id);
	}

	@Length(min = 0, max = 64, message = "employee_id长度必须介于 0 和 64 之间")
	@ExcelField(title = "employeeId", align = 2, sort = 20)
	public String getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}

	@Length(min = 0, max = 100, message = "last_name长度必须介于 0 和 100 之间")
	@ExcelField(title = "lastName", align = 2, sort = 30)
	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	@Length(min = 0, max = 100, message = "first_name长度必须介于 0 和 100 之间")
	@ExcelField(title = "firstName", align = 2, sort = 40)
	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	@Length(min = 0, max = 10, message = "flag长度必须介于 0 和 10 之间")
	// @ExcelField(title="flag", align=2, sort=50)
	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	@ExcelField(title = "datevalue", align = 2, sort = 50)
	public String getDatevalue() {
		return datevalue;
	}

	public void setDatevalue(String datevalue) {
		this.datevalue = datevalue;
	}

	@ExcelField(title = "date", align = 2, sort = 60)
	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return super.toString();
	}
}